package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;

import java.util.List;

/**
 * @description: 课程计划信息管理
 * @author whr
 * @date 2024/3/1 21:36
 * @version 1.0
 */
public interface TeachplanService {
    /**
     * @description: 查询课程计划
     * @param:  courseId 课程id
     * @return:  List<TeachplanDto>
     * @author whr
     * @date: 2024/3/1 22:12
     */
    List<TeachplanDto> findTeachplanTree(Long courseId);
    /**
     * @Description: 保存课程计划
     * @Author: whr
     * @Date: 2024/3/1 22:12
     * @Param:
     * @Return:
            */
    void saveTeachplan(SaveTeachplanDto saveTeachplanDto);
   /**
    * @Description: 课程计划关联媒资
    * @Author: whr
    * @Date: 2024/5/19 9:52
    * @Param:
    * @Return:
           */
    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);
}
